//
// Created by xiong on 2021/6/8.
//

#ifndef MEDIASOUP_MEDIAROOM_H
#define MEDIASOUP_MEDIAROOM_H

#include <string>
#include <map>

#include "Producer.h"

using namespace std;

namespace mediasoup {

    class MediaRoom {
    public:
        typedef string MediaRoomId;

        MediaRoom(MediaRoomId id) {
            _id = id;
        }

        virtual bool open();

        virtual bool close();

    private:
        MediaRoomId _id;
        map<Producer::ProducerId, Producer> _producerMap;
    };

}


#endif //MEDIASOUP_MEDIAROOM_H
